

package top.continew.admin.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.continew.admin.question.manger.service.MangerQuestionService;
import top.continew.admin.question.manger.service.impl.MangerQuestionServiceImpl;
import top.continew.admin.question.manger.service.PointService;
import top.continew.admin.question.mapper.question.QuestionKnowledgePointMapper;
import top.continew.admin.question.mapper.question.QuestionMapper;

@Configuration
public class QuestionServiceConfig {

    @Bean
    public MangerQuestionService mangerQuestionService(QuestionMapper questionMapper,
                                                       QuestionKnowledgePointMapper pointMapper,
                                                       PointService pointService) {
        return new MangerQuestionServiceImpl(questionMapper, pointMapper, pointService);
    }
}